home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
- PRODUCT : Delphi NUMBER : 2862
- VERSION : All
- OS : Windows
- DATE : August 23, 1995 PAGE : 1/1
-
- TITLE : How to keep the app iconized.
-
-
-
-
- iconized apps
-
- Q: How do I keep the form in icon form when I run it?
-
- A:
-
- 1. You must set WindowState to wsMinimized in the form's properties.
-
- 2. In the private section of the form object's declaration, put:
-
- PROCEDURE WMQueryOpen(VAR Msg : TWMQueryOpen); message WM_QUERYOPEN;
-
- 3. In the implementation section, put this method:
-
- PROCEDURE TForm1.WMQueryOpen(VAR Msg : TWMQueryOpen);
- begin
- Msg.Result := 0;
- end;
-
- That's it! The form will always remain iconic.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DISCLAIMER: You have the right to use this technical information
- subject to the terms of the No-Nonsense License Statement that
- you received with the Borland product to which this information
- pertains.
-